package com.mdd.admin.validate.yylq;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import java.util.Date;
import javax.validation.constraints.*;

@Data
@ApiModel("字典创建参数")
public class TAppDicCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "name参数缺失")
    @ApiModelProperty(value = "字典名称")
    private String name;

    @NotNull(message = "type参数缺失")
    @ApiModelProperty(value = "")
    private String type;

    @NotNull(message = "typeValue参数缺失")
    @ApiModelProperty(value = "")
    private String typeValue;

    @NotNull(message = "remark参数缺失")
    @ApiModelProperty(value = "字典值补充说明")
    private String remark;

    @NotNull(message = "sort参数缺失")
    @ApiModelProperty(value = "")
    private Integer sort;

    @NotNull(message = "status参数缺失")
    @ApiModelProperty(value = "状态（1：正常；2停用；）")
    private Integer status;

    @NotNull(message = "parentId参数缺失")
    @ApiModelProperty(value = "")
    private Integer parentId;

}
